import request, { fetch } from '@/utils/request'

// 景点列表
export function queryList(params) {
  return fetch('/spot/spots/list', { method: 'get', params })
}

// 景点明细
export function queryDetail(params) {
  return fetch('/spot/spotContexts/detail/' + params.id, { method: 'get', params })
}
